/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package patterns.builder;

/**
 *
 * @author Zeus
 */
public class ItalianMealBuilder implements MealBuilder{

    private Meal meal;
    
    public ItalianMealBuilder(){
        
    }
    @Override
    public void buildDrink() {
        System.out.println("Adding red wine");
    }

    @Override
    public void buildMainCouse() {
        System.out.println("Adding pizza");
    }

    @Override
    public void buildSide() {
        System.out.println("Adding Italian chips");
    }

    @Override
    public Meal getMeal() {
        Meal meal = new Meal();
        meal.setDrink("red wine");
        meal.setMainCourse("pizza");
        meal.setSide("italian chips");
        return meal;
    }
    
}
